package com.javastudy.autowiredStudy.autowiredStudy;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * 方法入参的方式进行依赖注入
 * @author mac
 * @date 2021/9/13 10:36 上午
 */
public class MethodEnterParamMethod {
    private String name;
    public void setter(@Autowired String name){
        int i = 1;
    }
}
